import myRequest from "../request"

export function getHomeHotSuggests() {
  return myRequest.get({ url: "/home/hotSuggests"})
}
export function getCategories() {
  return myRequest.get({ url: "/home/categories"})
}

export function getHouselistData(currentPage) {
  return myRequest.get(
    { 
    url: "/home/houselist",
    params: {
      page: currentPage
    }
    }
  )
}